package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallGroupon;
import com.ctsi.ssdc.domain.LitemallGrouponExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallGrouponRepository extends BaseRepository<LitemallGroupon, Integer, LitemallGrouponExample> {
    @Override
    long countByExample(LitemallGrouponExample example);

    @Override
    int deleteByExample(LitemallGrouponExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallGroupon record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallGroupon record);

    @Override
    List<LitemallGroupon> selectByExample(LitemallGrouponExample example);

    @Override
    LitemallGroupon selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallGroupon record, @Param("example") LitemallGrouponExample example);

    @Override
    int updateByExample(@Param("record") LitemallGroupon record, @Param("example") LitemallGrouponExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallGroupon record);

    @Override
    int updateByPrimaryKey(LitemallGroupon record);

    LitemallGroupon selectOneByExample(LitemallGrouponExample example);
}